package com.example.config;

import com.example.bean.MyBeanPostProcessor;
import com.example.bean.SimpleBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author linfeng
 * @date 2022/4/13 14:14
 */
@Configuration
public class AppConfigForMyBeanPostProcessorTests {

    @Bean
    public SimpleBean simpleBean(){
        return new SimpleBean();
    }

    @Bean
    public MyBeanPostProcessor myBeanPostProcessor(){
        return new MyBeanPostProcessor();
    }
}
